Interview Questions and Answer
Options:
a. Sealed classes
b. Static classes
c. Attribute classes
d. Regular classes
Reveal Answer
Options:
a. System.ComponentModel.Annotation
b. System.Data.Annotations
c. System.DataAnnotations
d. System.ComponentModel.DataAnnotations
Reveal Answer
Options:
a. Controller
b. Model
c. View
d. Business Objects
Reveal Answer
Options:
a. StringLength
b. Remote
c. CreditCard
d. FileExtensions
Reveal Answer
Options:
a. Either Show or Hide model property
b. Setting the Order of Model Properties
c. To set the text of label of Model Property
d. Format the Value of Model property
Reveal Answer
Options:
a. To display all client validation errors
b. To display validation errors on server
c. To display validation error of a given model property.
d. To display all default values of model properties
Reveal Answer
Options:
a. Html.ValidateErrorFor(model => model.UserName);
b. @Html.ValidationMessageFor(model => model.UserName)
c. Html.ValidateFor(model => model.UserName);
d. Html.ErrorMessageFor(model => model.UserName);
Reveal Answer
Options:
a. X is Controller Y is Action Method
b. X is Action Method Y is Controller
c. X is any public class Y is a method in it.
d. Y is any public class X is a method in it
Reveal Answer
Options:
a. @Scripts.Render("~/bundles/jqvalidation");
b. @Scripts.Render("~/bundles/modernizr");
c. @Scripts.Render("~/bundles/jquery")
d. @Scripts.Render("~/bundles/jqueryval");
Reveal Answer
Options:
a. Client Side Validation
b. Server Side Validation
c. Both Client and Server Side Validation
d. There is no such Attribute
Reveal Answer
Options:
a. @{Html.EnableValidations(false);}
b. @{Html.DisableClientValidation(true);}
c. @{Html.ClientValidations(false);}
d. @{Html.EnableClientValidation(false);}
Reveal Answer
Options:
a. IModelValidator
b. IValidatableObject
c. IFormValidator
d. IValidationObject
Reveal Answer
Options:
a. ValidationResult
b. ValidationResult []
c. String []
d. IEnumerable
Reveal Answer
Options:
a. IClientValidatable
b. IValidableObject
c. IClientValidation
d. IValidateClient
Reveal Answer
Options:
a. [System.ComponentModel.DataAnnotations.MetadataType(typeof(XMetadata))]
b. [System.ComponentModel.DataAnnotations.Metadata(XMetadata)]
c. [System.ComponentModel.DataAnnotations.Metadata(typeof(XMetadata))]
d. [System.ComponentModel.DataAnnotations.MetadataType(XMetadata)]
Reveal Answer
Bestitcourse google plus

Thank you for visiting BestITCourses, How can I help you

Thank you for visiting BestITCourses, How can I help you